#ifndef DEEPTOOL_H
#define DEEPTOOL_H

#include <QObject>
#include <functional>
#include "mytypes.h"
using namespace Yzty;

class DeepTool final:public QObject
{
public:
    static DeepTool* GetInstance(QObject* parent=nullptr);
    virtual ~DeepTool() override;
     std::function<void()> GetToolFunction(Yzty::DeepToolCode code);

private:
     QVector<BaceInfor*> CheckUsbInfor();       //扫描USB设备

     QVector<BaceInfor*> CheckFileInfor();      //检查文件信息 调用已有接口

     QVector<BaceInfor*> CheckFileOperate();    //文件操作记录

     QVector<BaceInfor*> CheckCutFileInfor();   //扫描LINUX 文件碎片

private:
    explicit DeepTool(QObject* parent=nullptr);
    static DeepTool* _instance;
};

#endif // DEEPTOOL_H
